package com.pandora.loan.home.mongo.service;

import com.pandora.loan.home.dto.request.NewsRequest;
import com.pandora.loan.home.dto.response.LoanResponseNextInt;
import com.pandora.loan.home.mongo.entity.MongoActivity;

import java.util.List;

/**
 * @author developer
 */
public interface MongoActivityService {

    /**
     * queryByLength
     * @param len len
     * @return MongoActivityList
     */
    List<MongoActivity> queryByLength(int len);

    /**
     * doGetActivities
     * @param req req
     * @return LoanResponseNextInt
     */
    LoanResponseNextInt doGetActivities(NewsRequest req);

}
